/**
 * 评论-键盘处理相关
 */
import UniUtil from '@/utils/uniUtil.js'

const state = {
	inputFocus: false,
}

const actions = {};

const mutations = {
	inputContentFocus(){
		UniUtil.delayTime(200).then(()=>{
			state.inputFocus = true;
		});
	},
	inputContentBlur(){
		UniUtil.delayTime(100).then(()=>{
			state.inputFocus = false;
		});
	}
}

export default {
    namespaced: true,
    state,
    actions,
    mutations
} 